<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>清除缓存</title>
    <link rel="stylesheet" href="/app/admin/component/pear/css/pear.css" />
    <link rel="stylesheet" href="/app/admin/admin/css/reset.css" />
</head>
<body class="pear-container">

  <div class="layui-card">
    <div class="layui-card-body">
      <button class="pear-btn" id="clearCache" dashed=""> 清除缓存 </button>
    </div>
  </div>

  <div class="layui-card">
    <div class="layui-card-body">
      <div>服务器系统： <?=$info['System']?></div>
      <div>服务器系统版本： <?=$info['Version']?></div>
      <div>PHP 版本： <?=$info['PHP Version']?></div>
      <div>文件上传最大限制： <?=$info['upload_max_filesize']?></div>
      <div>最大执行时间： <?=$info['max_execution_time']?></div>
    </div>
  </div>

  <script src="/app/admin/component/layui/layui.js"></script>
  <script src="/app/admin/component/pear/pear.js"></script>
  <script src="/app/admin/admin/js/permission.js"></script>
  <script src="/app/admin/admin/js/common.js"></script>

  <script type="text/javascript">
    layui.use(["layer"], function() {
      let $ = layui.$;
      let form = layui.form;

      $('#clearCache').click(function() {
        layer.msg('清除成功')
      })
    });
  </script>
</body>
</html>